import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:wangziyi/entity/product_parameter.dart';
import 'package:wangziyi/entity/product_parameter_color.dart';
import 'package:wangziyi/entity/product_parameter_size.dart';

class ProductDetailsState {
  List<Chip> chips =List();
  List<String> size;
  List<String> color;
  List<String> itemTitle;

  //购买数量
  RxInt minNumber =1.obs;
  //购物车商品数量
  RxInt cartNumber =0.obs;
  //表示从哪个选项过来的
  RxString InString="".obs;

  ProductDetailsState() {
    ///Initialize variables

    size=['34','35','36','37','38','39','40'].obs;

    color=['黑色','白色','紫色','蓝色','黄色','米色','棕色','灰色'].obs;
    itemTitle=['颜色','尺码'].obs;


  }
}
